package com.ch.base.factory;

import java.sql.Connection;

import org.apache.log4j.Logger;

public class BSOFactory {
	protected Connection con = null;
	public Logger log= Logger.getRootLogger();

	public BSOFactory(Connection con) {
		this.con = con;
	}

	public Connection getCon() {
		return con;
	}

	public void setCon(Connection con) {
		this.con = con;
	}

	public void setLogger(String loggerName) {
		log = Logger.getLogger(loggerName);
	}
}
